/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cl.alanis.dao;

import cl.alanis.dto.DetalleDocDto;
import cl.alanis.dto.DocumentoDto;

/**
 *
 * @author Pía
 */
public interface DocumentoDao {

    boolean insertarDocumento(DocumentoDto documento) throws Exception;

    public void commit();
    
    public Integer obtieneCodigo() throws Exception;

    

    public void rollback();

    public void insertarDetalleDocumento(DetalleDocDto detalleDoc) throws Exception;
    
}
